package com.rbac.modules.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "角色查询参数")
public class RoleQuery {
    
    @Schema(description = "角色名称")
    private String roleName;
    
    @Schema(description = "角色编码")
    private String roleCode;
    
    @Schema(description = "状态（0：禁用，1：启用）")
    private Integer status;
    
    @Schema(description = "当前页码", defaultValue = "1")
    private Integer current = 1;
    
    @Schema(description = "每页条数", defaultValue = "10")
    private Integer size = 10;
    
    @Schema(description = "排序字段")
    private String orderField;
    
    @Schema(description = "排序方式（asc：升序，desc：降序）")
    private String orderType;
} 